gtk-demo: Fix a memory leak
authorMatthias Clasen <mclasen@redhat.com>
Fri, 7 Aug 2020 19:15:18 +0000 (15:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 7 Aug 2020 19:15:18 +0000 (15:15 -0400)
commite0786a4a00139826c8d0a60de704252fa2bb877c
tree08a687113b9374864b5b4401366e4f93033d233b
parent0b218835188489ad845407f8020a2fa10405e679
gtk-demo: Fix a memory leak

The colors demo was leaking a reference to its model.
This was showing up as crash when you manage to close
both the demo window and the main window while the
sorting is ongoing.
demos/gtk-demo/listview_colors.c